package com.xh.demo.service;

import com.xh.demo.domain.po.User;

import java.util.List;

/**
 * @Name IUserService
 * @Description
 * @Author wen
 * @Date 2019-07-31
 */
public interface IUserService {

    int add(User user);

    User getById(long id);

    List<User> getAll();
}
